CC = gcc
CFLAGS=-w -shared -o
target1 = ../RELEASE/libstuByKey.so
target2 = ../RELEASE/libstuByFile.so
ORIGIN1 = Student.c StudentBk.c ../ModuleC/Log.c
ORIGIN2 = Student.c StudentBf.c ../ModuleC/Log.c
FPIC=-fPIC

all: $(LIBS_ENV1)
libstuByKey.so: $(ORIGIN1)
	$(CC) $(CFLAGS) $(target1) $^ $(FPIC)
	
libstuByFile.so: $(ORIGIN2)
	$(CC) $(CFLAGS) $(target2) $^ $(FPIC)

